<!doctype html>
<html lang="en">
<head>
    <title>Code coverage report for src/components/Keyword.vue</title>
    <meta charset="utf-8" />
    <link rel="stylesheet" href="..\..\prettify.css" />
    <link rel="stylesheet" href="..\..\base.css" />
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <style type='text/css'>
        .coverage-summary .sorter {
            background-image: url(..\..\sort-arrow-sprite.png);
        }
    </style>
</head>
<body>
<div class='wrapper'>
  <div class='pad1'>
    <h1>
      <a href="..\..\index.html">All files</a> / <a href="index.html">src/components</a> Keyword.vue
    </h1>
    <div class='clearfix'>
    </div>
  </div>
  <div class='status-line low'></div>
<pre><table class="coverage">
<tr><td class="line-count quiet">1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253</td><td class="line-coverage quiet"><span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span></td><td class="text"><pre class="prettyprint lang-js">&lt;template&gt;
  &lt;div id="app"&gt;
      &lt;form action="/"&gt;
        &lt;van-search
          v-model="value"
          show-action
          placeholder="请输入搜索关键词"
        &gt;
        &lt;template #action&gt;
            &lt;div @click="onSearch"&gt;搜索&lt;/div&gt;
          &lt;/template&gt;
          &lt;/van-search&gt;
&nbsp;
      &lt;/form&gt;
&nbsp;
      &lt;van-field label="性别:" label-width="40" class="keyworde-ss" :border="false"&gt;
        &lt;template #input&gt;
          &lt;van-radio-group v-model="radio" direction="horizontal"&gt;
            &lt;van-radio name="1" checked-color="#ff5b5a"&gt;男&lt;/van-radio&gt;
            &lt;van-radio name="2" checked-color="#ff5b5a"&gt;女&lt;/van-radio&gt;
            &lt;van-tag color="#FFFFFF" size="large" round  text-color="#999999"&gt;学历:&amp;nbsp;&amp;nbsp;&lt;/van-tag&gt;
            &lt;van-tag color="#f2f2f2" size="large" round  text-color="#999999" @click="showPickerXl = true"&gt;{{Xlvalue}}&lt;van-icon name="arrow-down" /&gt;&lt;/van-tag&gt;
          &lt;/van-radio-group&gt;
        &lt;/template&gt;
      &lt;/van-field&gt;
&nbsp;
      &lt;van-popup v-model="showPickerXl" position="bottom"&gt;
        &lt;van-picker  show-toolbar  :columns="columnsXl"   @confirm="Xl"  @cancel="showPickerXl = false"  /&gt;
      &lt;/van-popup&gt;
&nbsp;
      &lt;van-field label="身高:" label-width="40" class="keyworde-ss" :border="false"&gt;
        &lt;template #input&gt;
            &lt;van-tag color="#f2f2f2" size="large" round  text-color="#999999" @click="sgshowArea = true"&gt;{{sgvalues}}&lt;van-icon name="arrow-down" /&gt;&lt;/van-tag&gt;
            &lt;van-tag color="#FFFFFF" size="large" round  text-color="#999999"&gt;年龄:&amp;nbsp;&amp;nbsp;&lt;/van-tag&gt;
            &lt;van-tag color="#f2f2f2" size="large" round  text-color="#999999" @click="zoshowArea = true"&gt;{{zovalue}}&lt;van-icon name="arrow-down" /&gt;&lt;/van-tag&gt;
        &lt;/template&gt;
      &lt;/van-field&gt;
      &lt;!-- 身高 --&gt;
      &lt;van-popup v-model="sgshowArea" position="bottom"&gt;
        &lt;van-picker show-toolbar title="标题" :columns="columnssg"  @confirm="sgok" @cancel="sgshowArea = false" /&gt;
      &lt;/van-popup&gt;
      &lt;!-- 年龄 --&gt;
      &lt;van-popup v-model="zoshowArea" position="bottom"&gt;
        &lt;van-picker show-toolbar title="标题" :columns="columnsnl"  @confirm="nlok" @cancel="zoshowArea = false" /&gt;
      &lt;/van-popup&gt;
&nbsp;
      &lt;van-field label="地址:" label-width="40" class="keyworde-ss" :border="false"&gt;
        &lt;template #input&gt;
            &lt;van-tag color="#f2f2f2" size="large" round  text-color="#999999"  @click="xjdshowArea = true" &gt;{{xjdvalue}}&lt;van-icon name="arrow-down" /&gt;&lt;/van-tag&gt;
        &lt;/template&gt;
      &lt;/van-field&gt;
&nbsp;
      &lt;van-popup v-model="xjdshowArea" position="bottom"&gt;
        &lt;van-area :columns-num="2" :area-list="ajdareaList"  @confirm="xjdonConfirms"  @cancel="xjdshowArea = false"      /&gt;
      &lt;/van-popup&gt;
&nbsp;
      &lt;van-field label="婚姻状况:" label-width="65" class="keyworde-ss" :border="false"&gt;
        &lt;template #input&gt;
          &lt;van-radio-group v-model="hy" direction="horizontal"&gt;
            &lt;van-radio name="1" checked-color="#ff5b5a"&gt;未婚&lt;/van-radio&gt;
            &lt;van-radio name="2" checked-color="#ff5b5a"&gt;离异&lt;/van-radio&gt;
          &lt;/van-radio-group&gt;
        &lt;/template&gt;
      &lt;/van-field&gt;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
      &lt;van-list v-model="loading" :finished="finished" finished-text="没有更多了" @load="onJiazai" :immediate-check="immediate"&gt;
          &lt;div v-for="(item, index) in list" :key="index" icon="location-o" class="div-postion"  @click="tiao(item.id)"&gt;
            &lt;van-cell :border="false" size="large" @click="tiao(item.id)"&gt;
            &lt;template #title&gt;
              &lt;span class=""&gt;{{item.ncnicknamenc}}&lt;/span&gt;
              &lt;van-tag type="danger" round color="#ff8080" size="medium"&gt;&amp;nbsp;{{item.sextext}}&amp;nbsp;&amp;nbsp;{{item.birthday}}岁&amp;nbsp;&lt;/van-tag&gt;
            &lt;/template&gt;
            &lt;template #label&gt;
              &lt;span class=""&gt;{{item.xjdaddress}}&lt;/span&gt;
            &lt;/template&gt;
            &lt;template #icon&gt;
              &lt;img :src="item.headimgurl" alt="" class="left-img"&gt;
            &lt;/template&gt;
            &lt;/van-cell&gt;
            &lt;div style="background: #FFFFFF;"&gt;
              &lt;div class="xl-sg-hyzk"&gt;学历：{{item.xlname}}&amp;nbsp;&amp;nbsp;身高：{{item.sgname}}cm&amp;nbsp;&amp;nbsp;&lt;/div&gt;
              &lt;div class="h-10"&gt;&lt;/div&gt;
              &lt;div class="xl-sg-hyzk"&gt;婚姻状况：{{item.hynametext}}&lt;/div&gt;
              &lt;div class="h-10"&gt;&lt;/div&gt;
              &lt;div class="h-15 bj-f7f7f7"&gt;&lt;/div&gt;
            &lt;/div&gt;
            &lt;img v-lazy="item.picurl" class="vant-lazy" /&gt;
          &lt;/div&gt;
      &lt;/van-list&gt;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
  &lt;/div&gt;
&lt;/template&gt;
&lt;script&gt;
<span class="cstat-no" title="statement not covered" >  import areaList from "../../static/Areajs/area.js"</span>
export default {
<span class="fstat-no" title="function not covered" >  data () {</span>
<span class="cstat-no" title="statement not covered" >    return {</span>
&nbsp;
      list: [],
      immediate:false,
      loading: false,
      finished: false,
      page: 1,//请求第几页
      total: 0,//总共的数据条数
&nbsp;
&nbsp;
      hy:'',
      value: '',
      radio:'',
&nbsp;
      xjdvalue:"请选择",
      xjdshowArea: false,
      ajdareaList: areaList, // 数据格式见 Area 组件文档
&nbsp;
      showPickerXl:false,
      Xlvalue:"请选择",
      columnsXl:['初中','高中','中专','大专','本科','研究生','硕士','博士'],
&nbsp;
      zovalue:'请选择',
      zoshowArea:false,
      columnsnl: [
        // 第一列
        {
          values: ['18','19','20','21','22','23','24','25','26','27','28','29','30','31','32','33','34','35','36','37','38','39','40','41','42','43','44','45','46','47','48','49','50','51','52','53','54','55','56','57','58','59','60','61','62','63','64','65','66','67','68','69','70','71','72','73','74','75','76','77','78','79','80','81','82','83','84','85','86','87','88','89','90','91','92','93','94','95','96','97','98','99','100'],
          defaultIndex: 0,
        },
        // 第二列
        {
          values: ['18','19','20','21','22','23','24','25','26','27','28','29','30','31','32','33','34','35','36','37','38','39','40','41','42','43','44','45','46','47','48','49','50','51','52','53','54','55','56','57','58','59','60','61','62','63','64','65','66','67','68','69','70','71','72','73','74','75','76','77','78','79','80','81','82','83','84','85','86','87','88','89','90','91','92','93','94','95','96','97','98','99','100'],
          defaultIndex: 0,
        },
      ],
      sgvalues:'请选择',
      sgshowArea:false,
      columnssg: [
        // 第一列
        {
          values: ['150', '151', '152', '153', '154', '155', '156', '157', '158', '159', '160', '161', '162', '163', '164', '165', '166', '167', '168', '169', '170', '171', '172', '173', '174', '175', '176', '177', '178', '179','180','181','182','183','184','185','186','187','188','189','190','191','192','193','194','195','196','197','198','199','200','201','202','203','204','205','206','207','208','209','210'],
          defaultIndex: 0,
        },
        // 第二列
        {
          values: ['150', '151', '152', '153', '154', '155', '156', '157', '158', '159', '160', '161', '162', '163', '164', '165', '166', '167', '168', '169', '170', '171', '172', '173', '174', '175', '176', '177', '178', '179','180','181','182','183','184','185','186','187','188','189','190','191','192','193','194','195','196','197','198','199','200','201','202','203','204','205','206','207','208','209','210'],
          defaultIndex: 0,
        },
      ],
&nbsp;
&nbsp;
&nbsp;
&nbsp;
    }
  },
  components: {
  },
<span class="fstat-no" title="function not covered" >  created:function () {</span>
<span class="cstat-no" title="statement not covered" >      this.$emit('footer', false);</span>
  },
&nbsp;
<span class="fstat-no" title="function not covered" >  mounted () {</span>
<span class="cstat-no" title="statement not covered" >    this.recordapi();</span>
  },
<span class="fstat-no" title="function not covered" >  activated(){</span>
<span class="cstat-no" title="statement not covered" >      if(this.$route.meta.keepAlive){</span>
<span class="cstat-no" title="statement not covered" >          this.$emit('footer', true);</span>
      }
  },
  	methods: {
&nbsp;
<span class="fstat-no" title="function not covered" >      tiao(e){</span>
<span class="cstat-no" title="statement not covered" >        this.$router.push('Usercont?id='+e)</span>
<span class="cstat-no" title="statement not covered" >        console.log(e);</span>
      },
&nbsp;
      // 选择省市区  现居地
<span class="fstat-no" title="function not covered" >      xjdonConfirms(values) {</span>
<span class="cstat-no" title="statement not covered" ><span class="fstat-no" title="function not covered" >        this.xjdvalue = values</span></span>
<span class="cstat-no" title="statement not covered" ><span class="fstat-no" title="function not covered" >          .filter((item) =&gt; !!item)</span></span>
<span class="cstat-no" title="statement not covered" >          .map((item) =&gt; item.name)</span>
          .join('/');
<span class="cstat-no" title="statement not covered" >        this.xjdshowArea = false;</span>
      },
&nbsp;
      // 择偶要求 身高
<span class="fstat-no" title="function not covered" >      sgok(values) {</span>
<span class="cstat-no" title="statement not covered" >        this.sgvalues = values[0]+"~"+values[1]</span>
<span class="cstat-no" title="statement not covered" >        this.sgshowArea = false;</span>
      },
      // 择偶要求 年龄
<span class="fstat-no" title="function not covered" >      nlok(values) {</span>
<span class="cstat-no" title="statement not covered" >        this.zovalue = values[0]+"~"+values[1]</span>
<span class="cstat-no" title="statement not covered" >        this.zoshowArea = false;</span>
      },
&nbsp;
      // 学历
<span class="fstat-no" title="function not covered" >      Xl(value) {</span>
<span class="cstat-no" title="statement not covered" >       this.Xlvalue = value;</span>
<span class="cstat-no" title="statement not covered" >       this.showPickerXl = false;</span>
     },
&nbsp;
<span class="fstat-no" title="function not covered" >      onSearch(val) {</span>
<span class="cstat-no" title="statement not covered" >        this.page = 1</span>
<span class="cstat-no" title="statement not covered" >        this.list  = [];</span>
<span class="cstat-no" title="statement not covered" >        this.recordapi()</span>
         // this.$toast(hy);
      },
&nbsp;
<span class="fstat-no" title="function not covered" >      recordapi(){</span>
<span class="cstat-no" title="statement not covered" >          var that = this;</span>
<span class="cstat-no" title="statement not covered" >          var userid = that.$cookieStore.getCookie('userid');</span>
<span class="cstat-no" title="statement not covered" ><span class="fstat-no" title="function not covered" >           that.$api.post("/Index/sslist",{'xjdaddress':that.xjdvalue,'xlname':that.Xlvalue,'csname':that.zovalue,'sgname':that.sgvalues,'sex':that.radio,'hyname':that.hy,'page':that.page}).then(res =&gt; {</span></span>
<span class="cstat-no" title="statement not covered" >            console.log(res);</span>
<span class="cstat-no" title="statement not covered" >            let rows = res.list.data; //请求返回当页的列表</span>
            // // console.log(that.page);
<span class="cstat-no" title="statement not covered" >            console.log(rows)</span>
<span class="cstat-no" title="statement not covered" >             that.loading  = false;</span>
<span class="cstat-no" title="statement not covered" >             that.pageSize = res.list.per_page;</span>
<span class="cstat-no" title="statement not covered" >             that.total    = res.list.total;</span>
<span class="cstat-no" title="statement not covered" >             if (rows == null || rows.length === 0) {</span>
               // 加载结束
<span class="cstat-no" title="statement not covered" >               that.finished = true;</span>
<span class="cstat-no" title="statement not covered" >               return;</span>
             }
            // 将新数据与老数据进行合并
<span class="cstat-no" title="statement not covered" >             that.list = that.list.concat(rows);</span>
            // //如果列表数据条数&gt;=总条数，不再触发滚动加载
<span class="cstat-no" title="statement not covered" >            if(that.list.length &gt;= that.total){</span>
<span class="cstat-no" title="statement not covered" >               that.finished = true;</span>
            }
          });
      },
&nbsp;
      // 加载
<span class="fstat-no" title="function not covered" >      onJiazai:function(){</span>
<span class="cstat-no" title="statement not covered" >        var that = this;</span>
<span class="cstat-no" title="statement not covered" >        that.page++;</span>
<span class="cstat-no" title="statement not covered" >        console.log(that.page)</span>
<span class="cstat-no" title="statement not covered" >        that.recordapi()</span>
      },
&nbsp;
&nbsp;
&nbsp;
&nbsp;
    }
}
&lt;/script&gt;
&nbsp;</pre></td></tr>
</table></pre>
<div class='push'></div><!-- for sticky footer -->
</div><!-- /wrapper -->
<div class='footer quiet pad2 space-top1 center small'>
  Code coverage
  generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Mon Nov 27 2023 23:16:11 GMT+0800 (GMT+08:00)
</div>
</div>
<script src="..\..\prettify.js"></script>
<script>
window.onload = function () {
        if (typeof prettyPrint === 'function') {
            prettyPrint();
        }
};
</script>
<script src="..\..\sorter.js"></script>
</body>
</html>
